package com.zsx.shopping.ware.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 库存工作单条目
 * @TableName wms_order_stock_task_item
 */
@TableName(value ="wms_order_stock_task_item")
@Data
public class OrderStockTaskItem implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 工作单ID
     */
    private Long taskId;

    /**
     * 仓库ID
     */
    private Long wareId;

    /**
     * 商品ID
     */
    private Long skuId;

    /**
     * 商品数量
     */
    private Integer skuNum;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}